<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>
<div id="majorList" class="navbar navbar-default">
</div>

<script>
	function getList()
	{
		$('#majorList').load('<?php echo Yii::app()->request->baseUrl;?>/notification/getMajorGrid');
	}
	
	function goPage(id)
	{
		for (i=0;i<(id-1)*10;i++)
			$('#listT'+i+'T').hide();
		for(i=(id-1)*10;i<(id)*10;i++)
			$('#listT'+i+'T').show();
		for (i=(id)*10;i<UserCount;i++)
			$('#listT'+i+'T').hide();
	}
	
	function getGradeDetail(id)
	{
		$('.modal-content').load('<?php echo Yii::app()->request->baseUrl;?>/notification/viewMajorDetail?gid='+id);
	}
	
	getList();
</script>

<div class="modal fade in" id="detailModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false">
	<div class="modal-dialog">
		<div class="modal-content">
		</div>
	</div><!-- /.modal-dialog -->
</div>